<?php
/**
 * @package PHPKit.
 * @author: mawenpei
 * @date: 2016/11/24
 * @time: 18:28
 */
namespace HuoKit\JobMan\Handler;

use Psr\Log\LoggerInterface;

interface IWorker
{
    public function execute($data);

    public function setLogger(LoggerInterface $logger);
}